package com.zhixing.pay.service;

import com.zhixing.common.domain.entity.UserInfo;
import com.zhixing.pay.domain.dto.TransactionDTO;
import com.zhixing.pay.domain.vo.WalletInfoVO;

import java.math.BigDecimal;

public interface WalletService {

    void initializeWallet(UserInfo userInfo);

    WalletInfoVO getWalletInfo(Integer userId);

    void rechargeOrWithdrawal(Integer userId, TransactionDTO transactionDTO);

    void payOrder(BigDecimal realPayment, Integer userId);

    void driverRemit(BigDecimal realIncome, Integer userId);
}
